<template>
  <p>
    <router-link to="/home">首页</router-link>
    <router-link to="/category">分类页</router-link>
    <router-link to="/car">购物车</router-link>
    <router-link to="/mine">我的</router-link>
  </p>
  <!-- 一级路由匹配到的组件显示的坑 -->
  <RouterView></RouterView>
</template>
<script setup lang="ts">
// import { RouterLink, RouterView } from 'vue-router'
</script>
<style scoped></style>
